package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.baizhi.entity.Feedback;
import com.baizhi.entity.User;
import com.baizhi.vo.CommonVO;

import java.util.HashMap;

public interface AdminService {

    HashMap<String,Object> login(Admin admin,String enCode);

    HashMap<String,Object> queryAllPage(Integer page, Integer pageSize);

    HashMap<String,Object> update(Admin admin);

    HashMap<String, Object> delete(Admin admin);

    CommonVO add(Admin admin);

    Admin queryById(String id);

}
